package com.jshare.dao;

import java.util.List;

import com.jshare.entity.Tiezi;
import com.jshare.entity.TzReply;

public interface TzReplyDAO {

	//property constants
	public static final String CONTENT = "content";
	public static final String LOCATE = "locate";

	public abstract void save(TzReply transientInstance);

	public abstract void delete(TzReply persistentInstance);

	public abstract TzReply findById(java.lang.Integer id);

	public abstract List findByExample(TzReply instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByContent(Object content);

	public abstract List findByLocate(Object locate);

	public abstract List findAll();

	public abstract TzReply merge(TzReply detachedInstance);

	public abstract void attachDirty(TzReply instance);

	public abstract void attachClean(TzReply instance);
	
	public abstract List findByStartPos(String propertyName, Tiezi value,int startPos,int pageSize);

}